﻿using System.ComponentModel.DataAnnotations;

namespace Entity.WMS.DTO.WarehouseStocktaking
{
    public class WarehouseStocktakingAddDTO
    {
        /// <summary>
        /// 库存盘点编码
        /// </summary>
        [Required(ErrorMessage = "库存盘点编码Code不能为空")]
        public string Code { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 库存盘点单子单
        /// </summary>
        [Required(ErrorMessage = "库存盘点单子单Items不能为空")]
        public List<WarehouseStocktakingItemAddDTO> Items { get; set; }
    }
}
